@layout("/common/_form.html",{js:["/assets/school/examInfo/examInfo_add.js"]}){

<form class="layui-form" id="examInfoForm" lay-filter="examInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">考试名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入考试名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">班级<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            @for(classTeacherLessionResult in classTeacherLessionResults!) {
                            <input type="checkbox" name="classIds[]" value="${classTeacherLessionResult.classId}" title="${classTeacherLessionResult.className}">
                            @}
                            <!--                            <input id="classId" name="classId" placeholder="请输入班级id" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">班级id<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="classId" name="classId" placeholder="请输入班级id" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">考试日期<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="examTime" name="examTime" placeholder="请输入考试日期" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">考试地点<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="examPlace" name="examPlace" placeholder="请输入考试地点" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发布状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="checkbox" id="displayFlag" name="displayFlag" lay-skin="switch" lay-verify="required" required value="0" lay-text="已发布|未发布">
<!--                            <input id="displayFlag" name="displayFlag" placeholder="请输入发布标志位 0：已发布 1：未发布" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">备注</label>
                        <div class="layui-input-block">
                            <textarea id="memo" name="memo" class="layui-textarea"></textarea>
<!--                            <input id="displayFlag" name="displayFlag" placeholder="请输入发布标志位 0：已发布 1：未发布" type="text" class="layui-input" lay-verify="required" required/>-->
                        </div>
                    </div>
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label">创建人<span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="createUser" name="createUser" placeholder="请输入创建人" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label"><span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="createTime" name="createTime" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label"><span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="updateUser" name="updateUser" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label"><span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="updateTime" name="updateTime" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                    <div class="layui-inline layui-col-md12">-->
<!--                        <label class="layui-form-label"><span style="color: red;">*</span></label>-->
<!--                        <div class="layui-input-block">-->
<!--                            <input id="delFlag" name="delFlag" placeholder="请输入" type="text" class="layui-input" lay-verify="required" required/>-->
<!--                        </div>-->
<!--                    </div>-->
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}